home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / Evas_Engine_Buffer.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-01-09  |  908 b   |  37 lines

  1. #ifndef _EVAS_ENGINE_BUFFER_H
  2. #define _EVAS_ENGINE_BUFFER_H
  3.  
  4. #define EVAS_ENGINE_BUFFER_DEPTH_ARGB32 0
  5. #define EVAS_ENGINE_BUFFER_DEPTH_BGRA32 1
  6. #define EVAS_ENGINE_BUFFER_DEPTH_RGB24  2
  7. #define EVAS_ENGINE_BUFFER_DEPTH_BGR24  3
  8.  
  9. typedef struct _Evas_Engine_Info_Buffer Evas_Engine_Info_Buffer;
  10.  
  11. struct _Evas_Engine_Info_Buffer
  12. {
  13.    /* PRIVATE - don't mess with this baby or evas will poke its tongue out */
  14.    /* at you and make nasty noises */
  15.    Evas_Engine_Info magic;
  16.  
  17.    struct {
  18.       int   depth_type;
  19.  
  20.       void *dest_buffer;
  21.       int   dest_buffer_row_bytes;
  22.  
  23.       char  use_color_key : 1;
  24.       int   alpha_threshold;
  25.       int   color_key_r;
  26.       int   color_key_g;
  27.       int   color_key_b;
  28.       struct {
  29.      void * (*new_update_region) (int x, int y, int w, int h, int *row_bytes);
  30.      void   (*free_update_region) (int x, int y, int w, int h, void *data);
  31.       } func;
  32.    } info;
  33. };
  34. #endif
  35.  
  36.  
  37.